package com.geezdata.cps.sdk3rd.youzan.request;

import java.util.Map;

import org.hibernate.validator.constraints.NotBlank;

import com.geezdata.cps.base.request.BaseRequest;
import com.geezdata.cps.sdk3rd.youzan.response.YouzanResult;


public abstract class YouzanRequest<T extends YouzanResult> extends BaseRequest {
	@NotBlank(message = "methodName 不能为空！")
	protected String methodName = null;
	
	public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }
  
    
    public abstract Map<String, Object> getAppParams();
    public abstract Class<T> getResponseClass();
}
